package com.secxiot.provider.user.dao;

import com.secxiot.provider.system.entity.AppPunchCard;
import com.secxiot.provider.system.entity.AppSchedul;
import com.secxiot.provider.system.entity.AppSchedulRecord;
import com.secxiot.provider.system.vo.AppPunchCardVo;
import com.secxiot.provider.system.vo.AppSchedulRecordVo;
import com.secxiot.provider.system.vo.AppSchedulVo;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * 排班Dao
 */
@Repository
public interface AppSchedulDao {
    /**
     * 添加排班
     * @param appSchedul 打卡对象
     * @return
     */
    int insertSelective(AppSchedul appSchedul);

    /**
     * 添加排班记录
     * @param appSchedulRecord 排班记录对象
     * @return
     */
    int saveSchedulRecord(AppSchedulRecord appSchedulRecord);

    /**
     * 获取个人排班列表
     * @param userId 用户ID
     * @param hospitalId 医院ID
     * @return
     */
    List<AppSchedulVo> getSchedulList(Long userId, Long hospitalId);

    /**
     * 获取排班记录列表
     * @param userId 用户ID
     * @param hospitalId 医院ID
     * @param schedulId 排班ID
     * @return
     */
    List<AppSchedulRecordVo> getSchedulRecordVoList(Long userId, Long hospitalId, Long schedulId);

    //shenmingming
}